package org.hxuhao.scan.destory;

import org.hxuhao.summer.annotation.Bean;
import org.hxuhao.summer.annotation.Value;

public class SpecifyDestroyBeanConfiguration {
    @Bean(destroyMethod = "destroy")
    SpecifyDestroyBean createSpecifyDestroyBean(@Value("${app.title}") String appTitle) {
        return new SpecifyDestroyBean(appTitle);
    }
}
